package edu.gdut.tiantian.service;

import java.util.List;
import java.util.Map;

import edu.gdut.tiantian.entity.Category;

public interface ICategoryService {
	void saveCategory(Category category);

	void delCategory(Integer categoryId);

	void updateCategory(Category category);

	Category findById(Integer categoryId);

	List<Category> findByCondition(Map<String,String> condition,int pageNum,int size);
	
	List<Category> findAll();
}
